x86/pvh: disallow PHYSDEVOP_pirq_eoi_gmfn_v2/v1
authorMukesh Rathor <mukesh.rathor@oracle.com>
Mon, 24 Mar 2014 08:47:59 +0000 (09:47 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 24 Mar 2014 08:47:59 +0000 (09:47 +0100)
commita7ca5c402e8cf61c5e8dd6e6797a627863f5a243
tree6ae2ed5c581a6d60535ae423e34715715884b8bb
parent9c907c63d60a4bacb83c8e01b6e368c20609bde0
x86/pvh: disallow PHYSDEVOP_pirq_eoi_gmfn_v2/v1

A call to do_physdev_op with PHYSDEVOP_pirq_eoi_gmfn_v2/v1 will corrupt
struct hvm_domain when it writes to domain->arch.pv_domain.pirq_eoi_map.
Disallow that. Currently, such a path exists for linux dom0 pvh.

Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
xen/arch/x86/hvm/hvm.c